<?php

namespace app\common\util\jsonscm;

class SearchGuessValidator extends JsonScmValidator
{
    protected static $schema = <<<JSON
    {
        "type": "object",
        "properties": {
            "guess": {
                "type": "array",
                "items": {
                    "type": "string"
                },
                "title": "搜索词"
            },
            "show_count": {
                "type": "string",
                "title": "小程序显示数量"
            }
        },
        "title": "猜你想搜",
        "x-apifox-orders": [
            "guess",
            "show_count"
        ],
        "required": [
            "guess",
            "show_count"
        ]
    }
    JSON;
}